package com.imooc.service;

import com.imooc.bean.AuthResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;

@FeignClient("auth-service")
public interface AuthService {
    @GetMapping("logUser")
    AuthResponse logUser(@Autowired HttpServletRequest request);
}
